package com.yhxd.modular.system.service;

import com.yhxd.modular.system.dao.PersonnelTypeDao;
import com.yhxd.modular.system.entity.PersonnelType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PersonnelTypeService {

    @Autowired
    private PersonnelTypeDao personnelTypeDao;

    public List<PersonnelType> findAll() {
        return this.personnelTypeDao.findAll();
    }
}
